.header {
    height: 66px;
}

.header-logo .logo {
    position: absolute;
    height: 50px;
}

.header-logo {
    margin-left: 51px;
}

.header .nav-bar {
    margin: 0 56px 0 0;
}

.main {
    position: absolute;
    height: calc(100% - 68px);
    width: 100%;
    margin-top: 66px;
}

.course-fengmian {
    padding: 10px;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
}

.fengmian-img {
    height: 80px;
    max-width: 100%;
}

.hk-menu {
    position: absolute;
    height: 100%;
    width: 300px;
    overflow-y: hidden;
    left: 0;
    border-right: 1px solid #f2f2f2;
    margin-left: 0px;
    transition: all .3s ease;
}

.course-mulu {
    height: calc(100% - 52px);
    overflow-y: scroll;
}

.layui-colla-title {
    border-radius: 5px;
}

.hk-main {
    position: absolute;
    height: 100%;
    width: calc(100% - 300px);
    right: 0;
    transition: all .3s ease;
}

.hide-menu .hk-menu {
    /* width: 0; */
    margin-left: -300px;
    transition: all .3s ease;
}

.hide-menu .hk-main {
    width: 100%;
    transition: all .3s ease;
}

.show-menu-btn {
    position: absolute;
    height: 51px;
    width: 51px;
    line-height: 51px;
    text-align: center;
    z-index: 2;
}

.show-menu-btn i {
    font-size: 22px;
    color: #666;
}

.show-menu-btn .layui-icon-spread-left {
    display: none;
}

.hide-menu .show-menu-btn .layui-icon-shrink-right {
    display: none;
}

.hide-menu .show-menu-btn .layui-icon-spread-left {
    display: block;
}

.hk-btn {
    height: 38px;
    border-radius: 20px;
    line-height: 38px;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    color: #fff;
    border: 1px solid #3e93ee;
    background-color: #3e93ee;
    min-width: 140px;
    float: right;
    margin-top: 10px;
}

.hk-btn:hover {
    color: #fff;
    background-color: #54a4fa;
}

.hk-btn:active {
    color: #fff;
    background-color: #3e93ee;
    font-size: 14px;
}

.hk-btn:active i {
    font-size: 14px;
}

.hk-btn.hk-btn-white {
    color: #3184dc;
    border: 1px solid #3184dc;
    background-color: #ffffff;
}

.hk-btn.hk-btn-white:hover {
    background-color: #fafafa;
}

.hk-btn.hk-btn-white:active {
    background-color: #e0e0e0;
}

.hk-btn.hk-btn-green {
    border: 1px solid #0075c4;
    background-color: #0075c4;
}

.hk-btn.hk-btn-green:hover {
    background-color: #3e93ee;
    border-color: #3e93ee;
}

.hk-btn.hk-btn-green:active {
    background-color: #0075c4;
}

.hk-btn.hk-btn-green-white {
    color: #0075c4;
    border: 1px solid #0075c4;
    background-color: #ffffff;
}

.hk-btn.hk-btn-green-white:hover {
    background-color: #fafafa;
}

.hk-btn.hk-btn-green-white:active {
    background-color: #e0e0e0;
}

.hk-main-cnt {
    width: 100%;
    height: calc(100% - 60px);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.hk-main-bottom {
    width: calc(100% - 40px);
    height: 58px;
    line-height: 58px;
    border-top: 1px solid #f2f2f2;
    padding: 0 20px;
    bottom: 0;
    position: absolute;
    text-align: center;
    display: flex;
}

.hk-main-bottom-left {
    display: inline-block;
    text-align: center;
    width: 60px;
    height: 59px;
    line-height: 59px;
}

.hk-main-bottom-right {
    display: inline-block;
    text-align: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hk-user {
    border-bottom: 1px solid #e4e4e4;
    padding: 20px;
}

.hk-user-avatar {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    overflow: hidden;
    float: left;
    margin-right: 5px;
}

.hk-user-avatar img {
    width: 100%;
    height: 100%;
}

.hk-user-name {
    display: inline-block;
    line-height: 50px;
    font-size: 16px;
    color: #000;
    float: left;
}

.hk-user .clock {
    font-size: 12px;
    color: #919191;
    text-align: center;
    display: block;
    height: 16px;
    line-height: 16px;
}

.hk-user .clock .icon {
    font-size: 14px;
    margin-right: 5px;
}

.hk-user .time {
    color: #0075c4;
    font-size: 30px;
    text-align: center;
    margin: 0;
    height: 30px;
    line-height: 30px;
}

.hk-menu-main {
    position: absolute;
    height: calc(100% - 91px);
    width: 100%;
}


/* .hk-menu-main h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    line-height: 60px;
    padding: 0 20px;
} */

.menu-sidebar-title {
    position: relative;
    height: 32px;
    text-align: center;
    border: 1px solid #fff;
    background-color: #fff;
    margin-top: 10px;
}

.menu-sidebar-title span {
    display: inline-block;
    position: relative;
    z-index: 9;
    padding: 0 5px;
    line-height: 30px;
    background: #fff;
    color: #666;
    font-size: 12px;
}

.menu-sidebar-title .dash-line {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px dashed #e0e0e0;
}

.hk-menu-tixu {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc( 100% - 142px);
}

.hk-menu-tixu-main {
    margin: 0 20px;
}

.hk-menu-tixu h2 {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-title {
    padding: 0 10px;
    height: 51px;
    line-height: 51px;
    border-bottom: 1px solid #f2f2f2;
    overflow: hidden;
    background-color: #ffffff;
    font-size: 18px;
    color: #333;
    font-weight: 500;
    font-style: italic;
}


/* .hk-menu-tixu h2:first-child {
    margin-top: 10px;
} */

.hk-menu-tixu a {
    cursor: pointer;
    display: inline-block;
    float: left;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #3e93ee;
    color: #3e93ee;
    border-radius: 8px;
    font-size: 18px;
    margin: 0 0 10px 10px;
    background: #fff;
}

.hk-menu-tixu a.cur {
    box-shadow: 4px 4px 4px #fea518;
}

.hk-menu-tixu a:hover {
    background: #fafafa;
}

.hk-menu-tixu a:active {
    background: #e0e0e0;
    border-color: #3184dc;
}

.hk-menu-tixu a.done {
    color: #fff;
    background: #3e93ee;
}

.hk-menu-tixu a.done:hover {
    background: #54a4fa;
}

.hk-menu-tixu a.done:active {
    background: #3184dc;
}

.hk-menu-show {
    text-align: center;
    height: 22px;
    position: relative;
    margin: 20px 0;
}

.hk-menu-show .kuai {
    display: inline-block;
    line-height: 20px;
    color: #b9bec2;
}

.hk-menu-show .kuai span {
    display: inline-block;
    height: 14px;
    width: 14px;
    border: 1px solid #3e93ee;
    border-radius: 4px;
    background: #3e93ee;
    float: left;
    margin-top: 2px;
    margin-right: 5px;
}

.hk-menu-bottom {
    background: #f6f7fb;
    height: 80px;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.hk-main-bottom-progress {
    display: inline-block;
    width: calc(100% - 304px);
    margin: 0 10px;
    text-align: center;
    float: right;
    margin-top: 24px;
}

.layui-progress-bar {
    background-color: #0075c4;
}

.hk-main-bottom-progress p {
    color: #0075c4;
    font-size: 16px;
    bottom: 10px;
    line-height: 20px;
    text-align: center;
}

.hk-title {
    display: inline-block;
    width: 67px;
    height: 32px;
    padding-right: 6px;
    background-image: url(../img/tag.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    line-height: 32px;
    text-align: center;
    float: left;
}

.hk-cnt {
    width: 100%;
    height: calc(100% - 112px);
    position: absolute;
}

.hk-q {
    padding-top: 20px;
    line-height: 32px;
    font-size: 16px;
    margin: 0 auto;
    margin-bottom: 20px;
    /* display: none; */
}

.hk-q-c {
    margin-bottom: 20px
}

.hk-q.cur {
    display: block;
}

.hk-q-tx {
    width: 30px;
    display: inline-block;
    float: left;
}

.hk-q-children .hk-q-tx {
    width: 40px;
}

.hk-q-cnt {
    display: inline-block;
    width: calc(100% - 83px);
    margin-left: 10px;
    max-width: 900px;
}

.hk-q-tg {
    width: calc(100% - 30px);
    float: left;
    color: #545b65;
}

.hk-q-children .hk-q-tg {
    width: calc(100% - 40px);
}

.hk-q-option {
    margin-left: 113px;
    margin-right: 20px;
    max-width: 900px;
}

.hk-q-action {
    margin-left: 113px;
    margin-right: 40px;
    max-width: 900px;
}

.hk-q-children .hk-q-action {
    margin-left: 45px;
}

.hk-q-option-item {
    background: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    border: 1px solid #cfd7da;
    margin-top: 10px;
    cursor: pointer;
    color: #114c84;
}

.hk-q-option-item::before {
    zoom: 0.6;
    content: " ";
    display: inline-block;
    background-image: url(../img/option.png);
    background-repeat: no-repeat;
    background-size: auto;
    width: 32px;
    height: 32px;
    position: relative;
    top: 7px;
    margin-right: 10px;
}

.hk-type-panduan .hk-q-option-item::before {
    display: none;
}

.hk-type-danxuan .hk-q-option-item::before {
    background-position: -30px 0px;
}

.hk-type-danxuan .hk-q-option-item.cur::before {
    background-position: -30px -31px;
}

.hk-type-duoxuan .hk-q-option-item::before {
    background-position: 0px 0px;
}

.hk-type-duoxuan .hk-q-option-item.cur::before {
    background-position: 0px -31px;
}

.hk-type-panduan .hk-q-option-item {
    width: 30%;
    display: inline-block;
    margin-right: 15px;
}

.hk-q-option-item:hover {
    background: #f7f8fc;
}

.hk-q-option-item:active,
.hk-q-option-item.cur {
    border-color: #3e93ee;
    background: #f7f8fc;
}

.hk-tiankong-input {
    border: 0;
    border-bottom: 1px solid #104c82;
    text-align: center;
    line-height: 32px;
}

.hk-jianda-textarea {
    background: #f3f4f9;
    border-radius: 6px;
    border: 0;
    padding: 10px;
    line-height: 32px;
    width: 100%;
}

.hk-type-zuhe .hk-q-cnt {
    margin-bottom: 30px;
}

.hk-q-children .hk-q-cnt {
    margin-bottom: 0;
}

.hk-q-children {
    padding-left: 100px;
}

.hk-q-c .hk-q-option,
.hk-q-c .hk-q-action {
    margin-left: 30px;
}

@media screen and (max-width: 768px) {}

.mulu-list {
    /* margin-bottom: 10px; */
}

.mulu-item {
    line-height: 30px;
    cursor: pointer;
    font-size: 14px;
}

.mulu-item:hover {
    color: #0075c4;
}

.list-number {
    display: inline-block;
    width: 30px;
}

.study-status {
    float: right;
    font-size: 12px;
}

.mulu-item.cur {
    color: #0075c4;
}

.page-box-header-nav {
    border-bottom: 1px solid #eee;
    height: 52px;
    padding: 0 10px;
    text-align: center;
}

.page-nav-item {
    display: inline-block;
    height: 50px;
    line-height: 50px;
    text-align: center;
    padding: 0 10px;
    cursor: pointer;
    min-width: 40px;
    border-radius: 8px;
    margin-left: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #666;
}

.page-nav-item.cur {
    background-color: #FFFFFF;
    color: #0075c4;
}

.page-nav-item.cur::after {
    content: ' ';
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background-color: #0075c4;
    margin: 0 auto;
}

.hk-menu {
    overflow-x: hidden;
    overflow-y: scroll;
}

.page-box-body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    /* background-color: #f8f8f8; */
}

.item-imgtext {
    padding: 20px;
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 1px;
}

.layui-code-ol {
    font-size: 16px;
}

.layui-code-view .layui-code-ol li {
    line-height: 24px;
}

.page-box-item {
    display: none;
}

.page-box-item.cur {
    display: block;
    height: 100%;
    background: #fff;
    max-width: 1000px;
    margin: 0 auto;
    /* box-shadow: darkgrey 0px 5px 30px 0px; */
}

.xy {
    display: inline-block;
    position: relative;
    min-width: 70px;
    margin: 0 1em;
    min-height: 18px;
    text-indent: 0;
    /* background-color: #E8E8E8; */
    outline: 0;
    text-align: center;
}

.xy::before {
    content: '(';
    position: absolute;
    left: -0.6em;
    margin-top: -4px;
}

.xy::after {
    content: ')';
    position: absolute;
    right: -0.6em;
    margin-top: -4px;
}

.hk-q-bottom {
    margin-left: 113px;
    margin-right: 20px;
    margin-top: 30px;
    max-width: 900px;
}

.hk-q-ana {
    margin-left: 113px;
    margin-right: 20px;
    margin-top: 30px;
    max-width: 900px;
    display: none;
}

.hk-q-option-item.cur.error {
    border-color: #FF5722;
}

.code-question {
    margin: 20px;
}

.code-question-title {
    line-height: 50px;
    border-bottom: 1px solid #ccc;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.code-question-desc,
.code-question-input,
.code-question-output {
    font-size: 18px;
    line-height: 36px;
    color: #666;
}

.code-question-io {
    font-size: 18px;
    color: #666;
    line-height: 30px;
    margin-bottom: 10px;
}

.layui-quote-nm {
    font-size: 18px;
    color: #666;
}

.editor {
    width: 100%;
    height: 400px;
}

.item-imgtext table {
    margin: 0 auto;
}

.hhq-video {
    width: 100%;
    height: 100%;
    background-color: #000;
}

.hhq-video-default {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    font-size: 30px;
}

.code-question-desc pre {
    background: #f7f7f7;
    line-height: 1.6;
    font-size: 13px;
    border-radius: 3px;
    margin-bottom: 1em;
}

.code-question-desc .layui-code-h3 {
    display: none;
}

.code-question-desc .layui-code-ol {
    padding: 15px 0;
    background-color: #ffffff;
}

.code-question-desc .layui-code-ol p {
    line-height: 24px;
}